﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_Manage.aspx.cs" Inherits="sy_Admin_Manage"  ResponseEncoding="gb2312" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     <link href="img/admin_css.css" rel="stylesheet" type="text/css" />
 <script type="text/javascript" language="javascript" src="../script/del.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#cccccc">
<tr>
<td height="34" colspan="4" align="center" bgcolor="#757575"  class="font_1"> 管 理 员 管 理</td>
</tr>
  <asp:Repeater ID="Repeater1" runat="server">
   <ItemTemplate>
<tr>
<td width="37%" height="30" align="center" bgcolor="#FFFFFF"><%#DataBinder.Eval(Container.DataItem, "AdminName")%></td>
<td width="36%" align="center" bgcolor="#FFFFFF"><%#DataBinder.Eval(Container.DataItem, "AdminPwd")%></td>
<td width="13%" align="center" bgcolor="#FFFFFF"><a href="Admin_Edit.aspx?Id=<%#DataBinder.Eval(Container.DataItem, "Admin_Id")%>">修改</a></td>
<td width="14%" align="center" bgcolor="#FFFFFF">


<%if (Session["AdminType"].ToString() =="0")
      {%><a href='Admin_Manage.aspx?Id=<%#DataBinder.Eval(Container.DataItem, "Admin_Id")%>&del=Admin' onclick="return ConfirmDel();">删除</a><%}%>
    <%else 
    {%><span style="color:#cccccc;">删除</span><%}%>
</td>
</tr>
  </ItemTemplate>
  </asp:Repeater>
</table>
    </div>
    </form>
</body>
</html>
